{include file="public/header" /}
<body class="gray-bg">
<div class="wrapper wrapper-content">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-title">
                    <h5>订单详情</h5>
                </div>
                <div class="ibox-content layui-form">
                    <div class="layui-row layui-col-space10 layui-form-item ">

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">订单ID：</label>
                            <div class="layui-input-block">
                                <input type="text" class="layui-input" value="{$order.order_id}" disabled>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">详细地址：</label>
                            <div class="layui-input-block">
                                <input type="text" class="layui-input" value="{$order.address}" disabled>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">订单编号：</label>
                            <div class="layui-input-block">
                                <input type="text" class="layui-input" value="{$order.order_number}" disabled>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">购买数量：</label>
                            <div class="layui-input-block">
                                <input type="text" class="layui-input" value="{$order.order_num}" disabled>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">下单时间：</label>
                            <div class="layui-input-block">
                                <input type="text" class="layui-input" value="{$order.order_time}" disabled>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">订单状态：</label>
                            <div class="layui-input-block">
                                {if $order.order_status == 1}
                                <input type="text" class="layui-input" value="待付款" disabled>
                                {/if}
                                {if $order.order_status == 2}
                                <input type="text" class="layui-input" value="待发货" disabled>
                                {/if}
                                {if $order.order_status == 3}
                                <input type="text" class="layui-input" value="待收货" disabled>
                                {/if}
                                {if $order.order_status == 4}
                                <input type="text" class="layui-input" value="已完成" disabled>
                                {/if}
                                {if $order.order_status == 5}
                                <input type="text" class="layui-input" value="已关闭" disabled>
                                {/if}
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">订单金额：</label>
                            <div class="layui-input-block">
                                <input type="text" class="layui-input" value="{$order.order_price}" disabled>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">支付方式：</label>
                            <div class="layui-input-block">
                                {if $order.order_pay_type == 1}
                                <input type="text" class="layui-input" value="支付宝" disabled>
                                {/if}
                                {if $order.order_pay_type == 2}
                                <input type="text" class="layui-input" value="微信" disabled>
                                {/if}
                                {if $order.order_pay_type == 3}
                                <input type="text" class="layui-input" value="余额" disabled>
                                {/if}
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">商品名称：</label>
                            <div class="layui-input-block">
                                <input type="text" class="layui-input" value="{$order.goods_name}" disabled>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">商品价格：</label>
                            <div class="layui-input-block">
                                <input type="text" class="layui-input" value="{$order.goods_price}" disabled>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">商品缩略图：</label>
                            <div class="layui-input-block">
                                <img src="{$order.goods_thumb}" style="width:400px;height:200px" class="img-circle">
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">商品类目：</label>
                            <div class="layui-input-block">
                                <input type="text" class="layui-input" value="{$order.f_cate_name}------->{$order.s_cate_name}" disabled>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">商品货号：</label>
                            <div class="layui-input-block">
                                <input type="text" class="layui-input" value="{$order.goods_code}" disabled>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">用户头像：</label>
                            <div class="layui-input-block">
                                <img src="{$order.user_image}" class="img-circle" style="width:400px;height:200px">
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">用户名：</label>
                            <div class="layui-input-block">
                                <input type="text" class="layui-input" value="{$order.user_username}" disabled>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">手机号：</label>
                            <div class="layui-input-block">
                                <input type="text" class="layui-input" value="{$order.user_phone}" disabled>
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <div class="layui-input-block">
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
{include file="public/footer" /}
</body>
</html>
